dbwrapper: Work on fixing prepared queries (2).