Bug fix: only check for categories when you can select one