Fixed bug in favorites.