Redisigned the filter code
Now with 90% less errors!