Added: hardenning delete snapshot code