Fix handling of null DateTime properties in PdoModel