Dont reset the conditions on a iterative foreach loop, causes false result set afterwards
Merge pull request #58 from psamatt/no_iteration_reset

Fix #57 - After foreach on result set resets conditions in query