Fixed issue with categories not being marked as required