BZ-12229 Change ECM pruning filter to use mapped names if present.