[DF-1167] Fix: crash in "Convert to shadow"