Fixed issue where additional headers, like record-id, were not being added correctly