fixed a problem where it was checking a case's latest event rather than latest summary