The bug may have been fixed by now. Doing things, then undoing, then doing more things, etc, would use random data to create unconventional flags