Date value is cloned to avoid overwriting it.
Merge pull request #183 from PrimeRevenue/bug/group_week_modifies_value

Date value is cloned to avoid overwriting it.