Fixed image set indexing.