We are having a trouble with $by_category projection. The issue is that category that we are reading has no events that exist in original stream.
Here are the contents of a category: http://i.imgur.com/Yb70m33.png. There is event # 10, and then right after it event #13 from the same stream.
If I open stream itself: http://i.imgur.com/SNEHY5D.png, events are in the right order and go one after another as expected.
If I go to projections list and reset $by_category, events are appearing in the right order. I don’t really know the reason why such thing happen. What can I check to find out?