CMS-3984 Bug when having two events of same class name