fixing a bug with mapping Transformations labeled with P or X instead of an integer to the correct assembly.