updates to datepicker to disable dates that would result in null data