Changed ints to longs in item filter and provider