Franky17:
Well It's not a problem with your adafruit code it is because you are using Single stand wire for connection , Use thin Multi stand wires for connecting your wires with arduino. (Cut Male-to-male connector into half and Connect those cut ends with the sensor wires, and the male connection to arduino) [i had same problem recently, i did same and it worked..!]
I confirm, I solved reconizing problem with this tip!