Minor bug fix for recovery.