Adding continueOnUnexpectedMaster flag.