Update remove all to remove all but required

Fix #468

Signed-off-by: Ryan O'Hara <oharar@email.chop.edu>