fixes the issue with advanced search. see #110
Merge pull request #112 from unikent/refactor/advanced-search-fix-subject-category-fix

fixes the issue with advanced search. see #110