fix NowListView and templates to fit the new database model