Adding a service from the MapServer endpoint and clicking the Show Related Records option in an ArcGIS Online pop-up on a layer that is related to another layer in the map, only displays the service name of the related record, rather than the service name and layer name together.