Remember, when you apply maps in a receive port; the maps are applied after the pipeline process. On the way out, it goes the opposite direction.

I have found using the following acronyms helps me remember:

SMP - Send > Maps > Pipeline

RPM - Receive > Pipeline > Maps