Fixed problem with nested objects in debug record