Update on flag resets

Not all flags are turned off manually. Often the whole list is reset and
updated spell by spell. This accounts for that.