Fix an overload arity check.