Bug fix for when choosing a day in the past