SQL injection vulnerabilities fixed
Syntax bugfix
Merge pull request #13 from votacom/master

SQL security fix