Added a check whether raw ops are a Hash or Array
Merge pull request #9 from artemshitov/fix-single-operation

Added a check whether raw ops are a Hash or Array

Closes #8