Fix problem with related links not being displayed
Merge branch 'relfix'