DavidOConnor:
until you insert code to show what values are actually being produced by the LDR.
Is there something more than this required? (line 41 in posted code)
Serial.println(sensorValue);
I confess I had not seen that. I tend to look at my values before I use them and when I didn't see a print statement before the IF statements I jumped to the conclusion that there was no print statement.
However, as @PaulS implies, the OP has been singularly secretive about the data provided by the print statement. Which also reinforced my incorrect assumption that there was no print statement.
...R