Fixed bugfix in mirrorsync