Small fix to title handling code to deal with unicode better