Changes the way headers are set by filters.

This is attempt two to find a workaround.