Fixed optional part calculation in node titles.