Take fail count into consideration when deciding which data to process.