Fix malformed header (always 500 ISE).