fixed link display and url
added more null safe checks
add new test for no related titles