Fixed queries based around Date objects (were not previously encoded for...

... queries).

See https://github.com/1602/jugglingdb/pull/328 for the tests that were failing.