Clamp start and end dates