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