We're all used to fettling our indexing and we assume that a new cable, inner and outer, will usually resolve the problem. In most cases it does but if you have access to a hanger alignment tool it may be worth checking the alignment. I use one in the workshop at the bike charity where I work and they're so useful I made my own (courtesy of YouTube) with bits I'd got knocking around the shed/garage. I checked a number of my bikes and only one was spot on, needing no adjustment. It's surprising how when the hanger is just a tad out of alignment it affects the gear changing. I read a thread on here a while back where one guy said his alignment tool was the most useful tool he owned. I maybe wouldn't go as far as that but they are, IMHO, the missing piece of the indexing jigsaw. Unless the hanger is proper bent it's difficult to tell if it's out of alignment by visual inspection. The tool not only shows you where it needs adjusting but provides the leverage to straighten it.