Fixed wrong transaction handling
Updated version to 1.0.5
Merge pull request #2 from rtumaykin/dev

fixed wrong transaction handling and updated version