Remove unnecessary parentheses in SQL query

These make SQLite 3.7.16.2 crash.

http://hydra.nixos.org/build/4815315