Fix #1327 - Related agenda item has no (auto) agenda number

Bugfix in method get_title. Return item no for related objects.