Added logic for processing events for the five minute poller.