Removed an unnessary parenthesis in sql.