CORE-4806: Correcting tree editor