Revert "Take in consideration flat() for the All Applications menu"
This reverts commit 0b9eb1e70c9630aa3e1e44a6760e6dc6836f6174.