Fix bug where referencing a nonexistent item number would cause an exception when rendering the page instead of failing gracefully and just not linking the item.