Working through a couple subtle issues with trace/db copy constructors.