Corrected error in handling multiple headers with same name.