Fix default lambda arity detection