fix bug when slice is out of range in GetIgnoreList()