Fixes to the problem of NULL equality

In the selector fields with date type
Merge pull request #29 from Rakoth/date_fields_null_equality

Fixes to the problem of NULL equality in the selector fields with date type