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.