Fix bug preventing loading favorites.