I'm not a 100% sure what ghost shifting is by any strict definition. If not that your indexing is off in adjustment and putting the chain between two cogs and it going from one to the other. But it would do that in most any gear. And then you'd also know what the fix is for that. Adjust it.
I'm really imagining it as you select a gear. Maybe say two or three higher ratios (smaller cogs on the back) and it never makes it to the last cog right away, then later falls into that gear. In that case your ghost shifting might be a cable binding somewhere.