Fixed a typo in the query-by-date section

In this case

{'date': {'query':

should just be

{'query':

There was a closing bracket mismatch as well.  The corrected code is valid catalog query syntax.