in itemsRetrieved and other places. avoids crashes. BUG: 293178 MERGE: 4.8 FIXED-IN: 4.8.1 (cherry picked from commit c525dafb)