Use find_if in Checks.cpp

- Also replace a uint with an int, as one of the conditions checked was
if the value was < 0.
Merge pull request #4 from kanielc/find-if-in-checks

Use find_if in Checks.cpp