Fixed a couple of typos.
Fixed a typo that was preventing batch metadata updates from succeeding.