Fix crashing bug in rethinkdb porcelain.