fix in checkConditions method
Merge pull request #1 from svlksm/master

fix in checkConditions method