Replacing the ancestor-lookup(which hits) the database, with a lookup
that only hits on the already loaded work_packages.