Gives error if Link is not type ticket

Removed: RefersTo ReferredToByRefersTo to get it running, should check if link is type ticket.