Registered Foreman hosts gives blank ENV and Hostgroups after restart

Hi,

I am facing a rare scenario. After each bootup, few of the registered foreman hosts, with correct env and hostgroups returns blank.

I need to do the tagging again. Is there any way to prevent this?

Thanks