Answer
The first layer that this method is called has the selected features highlighted correctly, but the unselected features in the layer are not displayed. The second layer is displayed correctly.
Calling on this method twice for a single layer does not cause an issue.