Correct sqlite3 error during heroku deployment