Fix get_fullname() with collections.