Operands validation fixed
Merge pull request #1 from VladimirMitskevich/patch-1

Operands validation fixed