Fixes removeAllListeners after previous error correction in removeListener.
travisplexer: pr-293-linux travis ci test