What has been said above.........and before ruling things in or out, perform a more complete service/tune-up, to at least include valve clearances, fresh air filter, carb bowl fuel levels and full fuel flow check, tank cap vent clear/clean etc (tried running with the cap seal open?), ignition advance check by strobe/timing light etc..........before or after which you could do a plug chop or two.
I would run the bike (once at full operating temp) at the troublesome rev limit, in top gear, for several minutes, attempting to coax the speed up......at which time do a plug chop and (after allowing the engine to cool a bit) check the plug(s) condition................If for example, the plugs are sooty, your (likely) running far too rich, suffering poor combustion conditions and/or your ignition is not performing..............If the plugs are clean/ light coloured, your likely running too lean (open air boxes don't help) or suffering fuel starvation due inadequate fuel flow/delivery at those continuous revs.