Remove empty related links div

With related links, the array was empty but wasn't nil, so the empty tags were being rendered.