Fix redirect issue for voting in detail page