Fixed results page bug