Return nil, not -1, when the element is not in the array