Fixing another sql statement typo