Make addNestedContainerBean work with existing bean item container items (#15355)

Change-Id: I04a91349fce452aa26c304413061440ad74465cc