Fix needsupdate when days table is missing