Separate queried objects from DB table definitions in $cp global, and ensure DB table defs always happen