another fix to merge_batches -- get mask right.