Fix up headers that were being sent to many times for compound routes