fixes queries that contain dates that are before a daylight savings time switch