Remove fields function not working in pipeline

check the processing order Sytstem > configuration you should have the processing pipeline after the message filter chain.