Added conditions to "Delete" method

Added conditions to "Delete" method to enable multiple deletes