fix minor bug in report error if no stat selected in ostasum.py