Bug fixing: max_categories user_metadata and objective field