Fixed bug that happened when multiple deleting using -r