Accept old-style Riak index objects or new-style index tuples.