Fix nil error when all controls are categorized