Reduce number of potential queries for headers