I've already seen the same issue reported, but it seems it's broken again. I'm trying to build a mob switch, but all the mobs despawn and I couldn't find a reason why. But I guess I know now.
Related issues
Comments
Please include a way to test this issue
As far as I am aware, this was done in order to fix MC-155289.