Fix for non selectable dates being able to be selected.