Sounds like you got the sensor for the 535/530/540 as they've got the sensor mounted in the opposite direction from the 525's. The 525 has it in the bottom of the rad pointing up. The 535/530/540 have it in the coolant expansion tank pointing down.
525 part # is 61311384739 and the overall length of the sensor is 95mm.
540 part # is 61311378320 and is 109mm long.