Fix for recent testRetrieveFavoriteNodesWithListingContext test failures

in builds 340 & 341.