Simplifying EquivalencyValidator.AssertEqualityUsing()

Simplifying a for-each loop with if with LINQ query.