Added logging for rare problem case.