Fixed bug where Remove Arrays filter does not fully write its items marked for removal.
updates #213.