The unpublished note does not appear in the PUI (you have to look in the staff interface to determine why the result was returned) but this is still undesirable behavior.
We are aiming to address all of the issues grouped together on as a group for an upcoming release.
Are there any plans to fix this issue in the near future? Unpublished notes being searchable, even if not visible, in PUI records could raise significant data protection/GDPR issues for repositories in the UK.