Remove some unreacahable code from the filter, left over from original scale filter