bring forward a change to RetrieveDbObject needed for tests