Error with ledger lines


I would like to ask you - how to repair this error.
In dorico file (engrave or write mode) I deleted the violoncello cue, there were a lot of ledger lines),

but after file export, the ledger lines are still there. /look at img/

What do you think about that? How to solve it?

I think you need to attach your project (or snippet of) for this question.