fix checking whether header is member of message-hidden-headers