Fix query.
Merge branch 'dev' of https://github.com/nZEDb/nZEDb into dev
Perm.