Bugfix: IndexError when laststatus is not set yet