Fixes bug in advanced event proxy