fixed bug causing HalEmbeddedBuilder to fail when adding more than 2
items to embedded collections.