Fixed a bug in the way SQLite args were being passed