Fixed a typo in a sql statement.