fixed datetime error, attempts at fixing solr queries