So... The condition card forces you to search through the damage deck and get a pilot critical card. What happens if there is no pilot critical cards left? Let's say that some damage cards were dealt already and apparently there is no pilot card in the deck anymore. Unlikely? Maybe, but still possible.
What then? You shuffle cards from destroyed ships into the deck if possible? You cannot perform action and you choose another one?