Fixed problem with index contamination when batch saving in new format.

Also bumped pom to 4.1.3