Made some changes to ScaleoutSubscription
- Refactored code that creates cursors from stream indexes.
- Added missing fact attribute to unit test.