bugfix: System.ArgumentNullException when using meta of empty batch.