Updated coding standards and added a safety check being returned from the get_type_terms solr query.