Fix the passing of options through to index.create