Fixed issue with midnight and time sliders