Single filtering of in-memory data

- Fixed, in memory enumerables being filtered on each separate
iteration, resulting in small performance loses.