Fix to MCHandlerlist::addhandler

Refactored version failed to add the constructed string to the EP.