Fix error in related_service handling.