Added check to ensure Object exists prior to getting link()

Nathan - please check to ensure required logic is maintained. Seemed to be a bracket out of place and an extra colon?

Issue I received was in relation to the Link method failing when the redirect page wasn't found.