Fixing the date parsing in solr indexing.