Fix for downcasing of dates in solr queries