would | catch the times when other items are selected as well?

The reason I used == here is because it has to be JUST these two turned on, not other bits.