 
         if idToDelete
           overviewIndexToDelete = null
-          for item, i in cache.overview
-            if item.ids[0] is idToDelete
+          for item, i in cache.overview when item
+            if item.ids[0].equals idToDelete
               overviewIndexToDelete = i
               break
 

  @set
    indexes                 :
      to                    : 'unique'
    sharedMethods           :
      static                : ["init", "createCacheFromEarliestTo"]
    schema                  :



  @createInstance = (overview, callback)->
    @fetchOverviewTeasers overview, (err, activities)->
      if err then callback? err
      else
