If after you adj tension and are still having mis-shift issues you might find that the derailleur hanger may need alignment. Also barrel adjusters can twist or wind up the housing if the ferrule or housing end is jammed in the adjuster resulting in nearly impossible to fine to shifting. Pull back gently on the housing so the barrel turns independently of the housing.