Add missing closing bracket

The ) character was missing in two places of a SQL query
Merge pull request #9 from tuttinator/patch-1

Add missing closing bracket