Fix for getting the current groupid for hiding the block.