Fix parentLink text being set on the wrong element

fixes #82