Fixed typo in sql stmt