Fix typo from refactor.
Kludge fix for a problem that occurs when an orphaned block is locked.