Reduce the number of db queries on All Quotes page