bugfix: PostgresStore iteration