adding missing is_in_recovery check.