Fixed bug in event IDs for tender, better logging