[ALLI-2404] NdlLidoRecord: include collection in building hierarchy.