Fix bug #3897 Row Statistics and Space usage Bugs