9.07: fixed bug causing endless loop of mode unsets in Account module.