Fixed a bug in MasterBackup