Fix replacement filter not being respected when undoubling separators
Trailing whitespace