rm extraneous logic from svg filter