Restore small rests?

I know how to restore a whole bar’s rest, but is there a way to put rests between notes back, short of resetting “Ends Voice” on every one?

For some reason (probably XML) I’ve got not quaver rests here, and there’s loads of it.

Screenshot 4.png

Select the whole passage then turn off both “Starts Voice” and “Ends Voice” properties. All rests should return.
edit: You might need to “Filter Notes” after selecting the passage, in order to get those properties to show.

Bingo. Yes, Filtering was the key.

I had tried a Lua script to move along each note and turn off the switch, but it was a partial success…