Queries with partion keys will be accepted. 

This fixes issue #37 and issue #50
code style: put opening brace on the same line