Fixed arity check in loop results.