fixes menu page edge case (empty categories removed)