Fixed bug that caused timestamps in SQLite output to be 0