BACKLOG-5344 : don't return extension nodes which do not have matching external node