FIX: layerDelete History creation bug fixed.