Fix bypass limitations in history reported by dimistor (get data for arbitary period if dates have incorrect format, for example, 2000-01-01 00:00:00:00).