Backwards compatibility hack for rethinkdb driver