Fixed bug where we try to calculate data from non-existent favorite