Add an assertion failure that we don't add the same effect instance twice.