It'd be better to use `remove` or `remove-if` here.