Do you mean to say that this query will be too costly, or that we need to make sure that profiler correctly checks applicability for units only in the relevant repo ids?