Fix lambda argument list checks