LIBITD 218. statistics page not showing correct results

- Fixed Statistics page.

(https://issues.umd.edu/browse/LIBITD-218)