Fix favourites not loading in xhr requests