Trying a new approach to the if-block with Templated Filters. We are
now using a private implementation for the comparison and the actual
algorithm all in one. This should serve as a nice exemplar for others
to work from.