If half your gears shift perfect and the other half not it is more than likely that your mech or mech hanger, more likely hanger, might be ever so slightly bent. This does not mean you need to try and hunt down a new hanger as you can straighten them but you need a tool to do so
Hope that helps