Fix time selection.