This is not an error. The road is split in several pieces, so property changes (e.g. max speed) can be mapped.
You get 2 parts because part of the road is residential and part of it is mapped as tertiary.
AFAIK Nominatim will not return other parts of the road if they are also residential or tertiary. It only returns the “first” one it finds for each highway classification.