fixing the avg completion time last week logic