Fixes #4 and Closes #4 , Make queries work for simple dates (YYYY-MM-dd).