fix the electronIDs for the miniAOD step

forward-port of fix https://github.com/cms-sw/cmssw/pull/5726