CDI and coils are directly related to RPM. If it runs fine to a certain RPM then breaks down that worries me a bit. So play with it and figure if its throttle position or RPM. If it throttle position then of course you have a carb issue.
Good luck
I try to aggravate one person a day. Today may be your day.