Use .discard instead of .remove.