typo in database query.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge pull request #824 from eurich/bugz

quick fix