Allow None values in date fields.
PEP8 whitespace fix.