Support multiple identical header links with different rel values

Without this fix paging can break sometimes