Fixed issue with the difference between doc and page level events.