Internal: make sure that original headers are used when executing search as part of put warmer

Closes #7711