1) The case occurs in situations where a stop_area relation groups multiple stop nodes and platform ways.
2) The example above also shows that the tag "railway=tram_stop" is not processed.
See the following screenshots for description of actual and target behaviour: