Fix crash in the aggregated statuses report when shift db doesn't exist