Fixed usage of functions as comparators

- Fixed the parameter order of evalCondition
- Fixed the "control" parameter at the call to evalCondition (this.control does not exist.)
Merge pull request #8 from ckosmowski/patch-1

Fixed usage of functions as comparators