Fix skips Distr page and also save the stas per revision in db

Created a new pull

Please test :)