Small fix here to actually resolve relations.