Fix plugin event activation defect in resolver

Closes #5