weekly report query date error