GCP-6289 fix for NPE when there are favorite locations