for loop should be able to loop over values and filtered variables too.

Related, added test to prove that issue #99 is fixed.