Fixes problem with unspecified parties

Don't try and render a link to a party when one is not available.