Bug fix:  compare date against date not datetime