Fix for voting after URL change