Fix bug with oppositeOf and controlled resources