Made system status views better handle empty database case.