Can you restrict Command + Tilde (CMD + ~) in El Capitan to switch between only windows on the same desktop?
I think this behavior is fixed in the new update 10.11.1. I tried it on both explorer and chrome on the same desktop and it switches to the other windows as expected.