Fix MINION_INVOKED event listener registering.