title: Lost activities in Aggregated Feed
body: <p>first of all a little of what I am trying to achieve. I have built a django wrapper on top of stream-framework library. There are 2 feed-classes - <code>FlatFeed(RedisFeed)</code> and <code>AggregatedFeed(RedisAggregatedFeed)</code>. Obviously, these are using Redis to store the feed data. I have also implemented my own aggregator class.</p>
  
  <p><strong>Error</strong>: The generated aggregated feed doesn't contain all activities while the flat feed has all the activities. The use-case is - there are 3 users A, B and C. B and C performs some activities, then user A follows B and C. User B and C keep on doing more activities. Flat feed of A contains all the activities of B and C, but aggregated feed of A has some lost activities.</p>
  
  <p>For example,</p>
  
  <pre><code>B likes products 1, 2, 3, 4
  C likes products 5, 6, 7, 8, 9, 10
  A follows B
  A follows C
  </code></pre>
  
  <p>flat_feed(A) has all activities, but <code>aggregated_feed(A)</code> only has likes for 1, 5 and 8. I repeated this use-case several times and each time only these 3 activities are coming.</p>
  
  <p>I have tested my aggregator class implementation on django shell. The output of aggregate and merge function contains all the activities.</p>
  
  <p>Please help !!</p>
  
  <p>Please note that flat feed has correct entries, the missing entries are only in aggregated feeds.</p>