Fix address component on relations (fixes #860)