Adding filtering to functional collection