Adafruit Motor hat activating incorrect motors on windows IOT

I have downloaded the adafruit Motor Hat Demo for windows IOT.

The code calls GetMotor(3) which I assume is supposed to activate the motor connected the the connections labeled "M3"?

However it actually activates the motor connections labeled "M1"...

Is anyone else getting this behaviour?


Update

It appears that no matter what motor I set via GetMotor(x) both M1 and M2 are activated and will both obviously run the motor while neither M3 or M4 ever work.

Thinking that it might have been a faulty motor hat or some dodgy soldering by myself, I tested a second motor hat and it does exactly the same thing.