Fixin a random crash when Favourites and Recent menus are built.