Fix bug that caused data to be unreadable from namecoind sometimes.