Fixed DateField with Empty Values (Fixes #707)

First commit is a failing test case, second commit patches the bug.