[5453] Fixed bug in code to hide stats