Fix issue with the database REST API on the index name