Removing thumbnail on record delete.