Fix bug in cleaning of HLT jets against electrons

Backporting of pull request #4542 to CMSSW_7_1_X.