[#18388] Fixed import of branch with the custom attributes