Refactoring: removed java-style copypaste from comparators, removed some unused logic from AbstractComparator(), in_list() and not_in_list() now accepts a list