Bugfix, completed batches can't be submitted twice