Corrected SQL error
Merge pull request #298 from Lerogero/master

Corrected SQL error