First the picture of what is going on.

OK, now the question. The rail repair icon is still there after this unit already repaired the area. This area needs no repair, and this particular unit has displayed this way for 2 turns now. I have noticed it on several others also.
Am I missing something? Is this suppposed to be like this or is it a bug?