security fix: locked account regression
in some cases, locked state of an account may be clobbered, which results in the wrong pre-following logic being used.
in some cases, locked state of an account may be clobbered, which results in the wrong pre-following logic being used.