Bug fixes in using user weeks instead of referred users' weeks