You stimulated out the situation where Monty Hall always picks the door without the prize. That’s exactly the standard Monty Hall problem. Change your code to instead allow him to choose the prize door (but never the player’s door). Then condition on him picking the goat door by dropping all the cases where he picked the prize door.
You’ll see that that changes it by discarding scenarios where switching is good (the prize is shown to you) but not ones where staying is bad.
You’ll see that that changes it by discarding scenarios where switching is good (the prize is shown to you) but not ones where staying is bad.