Modified sqlite provider to be able to work with prepared statements (safe)