Fix minor things in calculate record articleStat for checking the first date and the last date which contain in the table