You're right, the actual pin positions are mirrored on the female connector. These pins are swapped: 1 and 3, 4 and 5 and 6 and 7. The numbering on the connector takes this into account - if you follow the numbering on the connector and the diagram (instead of the actual pin locations), it'll work out okay.