Fixed bug 931: Typolink to a page with certain type doesn't work if type is zero