fixing wrong cleanup, and optimizing performance of search result iterator
fixing wrong cleanup, and optimizing performance of search result iterator

yelmontaser/jackalope,wjzijderveld/jackalope-doctrine-dbal,rederrik/jackalope-doctrine-dbal