Work around the SQLite parameter limit.

Closes #13.