Usernames in Widgets

Excuse my ignorance as this is my first Buddypress install, so I am not certain if this is the Theme or BP, but how do you stop the "Who's Online" and "Members" widgets showing the Username instead of the "Display Name"?

It's a security risk to publicly display usernames as its half way there for hackers etc.

Thanks

Richard