Fixed looping through subscriptions: decreasing current index and length of array after removal
Merge pull request #12 from nikeiwe/master

Fixed looping through subscriptions