Updated stats page removing comments and adding checks for data on some more queries