When inserting a bone collection via a library override, make sure that the reverse pointers (from the bones in the collection to the collection itself) are also added. These are used for the "given the active bone, which collections is it in?" kind of queries.