Fixing silly SQL syntax error.