Pass the correct arity to #each in Enumerable#find_index.