[OE-4588] Prevent measurement references from referencing both an episode and an event.