Bugfix on SqlIterablew