While it seems like your logic should work, I was able to reproduce this in my environment. To get it to work, move all of the not equals statements into a separate group as such:
![]()
Logically, you would think it would be the same thing, but I had to do this to get it to work.