Unit tests found edge case in Stats