Provide allResults as empty array if no results have been collected
Latest parser API
Fix nextResultOrNil