Hidden Sensors Showing up After 0.38.2 Upgrade

I’ve just upgraded to the latest HA and have noticed that some of my hidden sensors are showing up on the front end.

Nothing has changed in customizations and some old/raw sensors have appeared in the front end under groups that they are in. These sensors don’t need the raw data shown in the frontend as I use template sensors to reference them and get nicer output.

In my customizations I have:

 sensor.ldr:
   friendly_name: Raw LDR
   hidden: true

But it still shows up in the front end.

Found this bug report here: https://github.com/home-assistant/home-assistant/issues/5909