Add support of statistics for previous weeks
Add week bounds validations to statistics subsystem