Fix bug with oppositeOf and controlled resources
Add guard against bad behavior with oppositeOf