Fixing introduced bug in page title manipulation