Corrected a SQL Syntax error caused by a missing space