"return" was not reachable
a bit of PEP8-friendliness
removed code duplication
Merge pull request #6 from indeyets/reset-deduplication

Constructor duplicates resetQuery() code