Fixed a typo in a query refs #1287
Merge pull request #161 from BNoiZe/master

Fixed a typo in a query refs #1287