fixed validation of dates if they are null
fixed validation of dates if they are null

thomas-lange-smf/CRUDlex,jchiotaka/CRUDlex,jchiotaka/CRUDlex,philiplb/CRUDlex,thomas-lange-smf/CRUDlex,philiplb/CRUDlex