cXULElement_datepicker fix

Fix for the case when min | max | value is set to null.