Reduced the number of queries in the main index page by using .includes()