I wonder if we want to add and an else clause with a debug log here to make sure we see duplicate failures? might be helpful in debugging.