Minor bug fix to chat example's nickname generator.