AWS compatibility fix when deleting volumes