fixed #152. QueryResultIterator and QueryResultList is returned where possible