Fix for type id based search with solr