Remove unneeded before filter