corrected the wrong indices in the for loops for muon, tau and jet selections