fix ability to unfavorite a post when the page loads and the post had been previously favorited