dbwrapper: Work on reusing prepared query.