When you share a course there is a subject selection, it appears too long.
While testing hub communication on different versions of Moodle I noticed that in old Moodle versions it is very neat. Something broke recently.
Attached view on Moodle 3.1 and 3.4. On 3.4 the list is flat in both Boost and Clean