Fixed sparse index comparision