In that level, I had to set all my keys to 1 first, then do another ring to set them to zero. And be liberal with your master keys! Don't hold back, you can always undo unnecessary doors later!
ok i think i need a solution for it. edit:yes i do
edit2:nevermind i beat it
(actualy first ill watch a video to see if it help then ill edit if that doesnt work)