Compare ints with equal rather than deepEqual