Ding! Ding! Ding! Error!
There is more wiring in the switch electrical box than shown on the diagrams!
When making electrical diagrams, show ALL wiring please...
(So basically ignore what I said above. That was based on my thought that there were only two wires going to the switch electrical box as shown on the diagram...)