NEON-1060 Adding a bug fix where the queried datefield wasn't being used; only the default value was used.