Fixed click on grayed-out items selecting wrong dates