Search and search by category fixes, rubocop validated Models.