The old script used the created_at attribute of the webpages instead of the updated_at. This means it keep putting the article in the week that was saved but not read. Now it will put it in the week that is read, which makes more sense.