#1843: Use correct nid in titles display mode.