Put the summary of the bug you're having here
What I expected to happen was...:
When I change gamemode to spectacor monsters should not disappear
What actually happened was...:
Monsters disappeared
Steps to Reproduce:
1. Create world that have commands on
2.Spawn monsters
3.Change gamemode to spectacor
Working as Intended, see MC-46776