[#18252] Fix import of xml file as sandbox terms and refresh main tree after import of sandbox terms