Fixed 'Too many open statements' error for Iterator-based finder methods.