Fix recovery detection