Fixed bug with checking whether fav list is empty