Fix for clicking multiple links in same search -- problem introduced because of poor choice of variable names.