Fixed ref-counting assertions
Merge pull request #132 from 28msec/fix-ref-counting-assertions

Fixed ref-counting assertions