Fixed issue where events during UoW commit would be ignored