Fixed typo in SQL filters