fixed the sql query, will have to be checked
Merge pull request #122 from Galithil/devel

fixed the sql query, will have to be checked