FLUID-5254: Fix for failure to remove raw listener to injected event

This fix blocks https://github.com/fluid-project/kettle/pull/10