fixed bug in lookup_by_name indexed collection type