Fixes #4238 return current hidden entities value