Fixed minor typo that threw a SQL error.