Fixed a SQLite boolean field bug.

SQLite driver would crash when you tried to save a model with a boolean field in it.