Fix find_related_maps_deep