fixed to prevent datepicker to engage when checkbox is not selected in a...

...dvance search