Fix the date slider behavior.