Ensure remove listener does not crash if event listener does not exist.