Search query in Health vs Devices

Search / filter problem

I added hosts to LibreNMS using the API. The hostname is actually the IP address, while I set the real hostname in the display field. When I search globally, the devices show up correctly under “FW”, and the same happens in the Devices section. However, the issue appears in the Health/Wireless section — when I type “FW”, nothing shows up, but when I search using the IP address, it finds the device correctly, even though the display field is visible.
How to fix it? Is it ok?

What do you recommend? Add IP and hostname in /etc/hosts and change hostname from IP to real name? What is the best practise for that?