[[ Bug 13455 ]] Don't clear the context in getentries_for_folder - do so in getentries.