Refactored sum(condition) > 0 to any(condition).
Merge pull request #9 from catchagain/master

Refactored sum(condition) > 0 to any(condition).