[se] Fix calcTree to avoid useless work when nothing changes
[se] Fix calcTree to avoid useless work when nothing changes

ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs