prpy.PlanToConfig() doesn't seem to check if the arm is already at the config that you want to go to. There may also be a problem with wrapping of angles e.g. not realizing a current joint angle matches an angle in the config you want to go too.