Fixed an issue where agent are not able to properly parse delivery events.