downcase_query method invalidates date range statements with TO

downcase_query was causing the "TO" keyword for a date range to be downcased when passing a date range query to the "fulltext" method