Fix date localization bug when passing SQL strings into a find() condition