Made all pages showing the right queries.