fix the electronIDs for the miniAOD step

Forward-port of #5726