Null object exception fixed
Date bug in Stats calculation fixed