Fixed bug with BecomeMaster message handling in StorageWriterService causing following record not to be commited.