@nicferrier IIRC remove-if will do the trick.