Fixed bug where empty string was replacing null in new_classification

Added support for sorting and searching badges, classifications etc.