I think I might have found a bug in the sewers when I lost one of the red keys. I have just two red keys and it makes the water pipe puzzle impossible.
Is there any way to fix this, I don't want to restart with a new game.

two keys in inventry and none on wall

key taken from here

key taken from here