Problem with voice-attached dynamics

I am trying to attach a dynamic to a voice, but it does not work… In the following example I create the dynamic holding Alt when clicking the panel, and when filtering second voice, the dynamic is not selected:


You have to do this from the caret, with the correct voice selected.

Thank you very much pianoleo!