Added error checking for Delete Paste to check if the user has pastes or not.