fixed SQL query in register_filter() - removed inverted comma