incorrect timestamp to datefield comparison

see #11