Added unordered batch support with merged and unmerged results