Prevent output of headers when content not present