Infrared Sensors Input backwards

You are already using the serial monitor to display some stuff. Use it to display the values in the the things you think may be a problem until you find the culprit!

Paul