fixes #8. multiple consequence execution issue.
Merge pull request #9 from mithunsatheesh/hotfix-multiple-consequence-execution

fixes #8. multiple consequence execution issue.