Bugfix in 'dpsearch idnex_facets' command where an index is empty, we try to commit on a None object.