Fixed missing dependency in non-consecutive special indexing