Use #joins for search in the admin in the case of a large number of variants (#4990)