Fixing saved query bug and display bug on index page.