If legend is a shorter version (substring) of legend above it, then it's overwritten (color & text) by the upper one.
Example (timeline copied from syntax discussion):
legend:gitara_basowa
legend:gitara
If you switch the order (shorter legend will be above the longer), then it displays correctly.
MarMi wiki (talk) 19:43, 25 April 2022 (UTC)