fix nasty looping problem when calculating complete_result_document for an owned container
fix nasty looping problem when calculating complete_result_document for an owned container

ld4apps/lda-siteserver,ld4apps/lda-siteserver,ld4apps/lda-siteserver,ld4apps/lda-siteserver