Fix: sqlite: must detach from database *after* select finished.

So move "clean" method into select.