made check more resilient to broken/warning custom facts and other erroneous output