Remove redundant part of query.
Merge branch 'dev' of https://github.com/nZEDb/nZEDb into dev