Templates like this:
<unit relativeTo="ca_objects_x_occurrences" restrictToTypes="individual">
<unit relativeTo="ca_occurrences"><l>^ca_occurrences.preferred_labels.name</l></unit> (^relationship_typename)
do not honor the type restrictions, because they're on the relationship not the target. We should allow restrictions specified like this to filter to the subunits.