#350: Creating a batch via hasMany relation is failing. Added handling of array argument.