Cosmetic changes working on SQLFilter function to prevent SQL injection