[Fix bug 984252] Fix events API local start/end dehydration.