Replace NOW() with date('now') in sqlite accounting queries. Oops.