Fixes #10

Should fix issues with accidental double validation of mongoDB queries. (#10)