Fix toString for undefined.