Modify deepCopy() to correctly clone dates

This allows dates to be passed as query motif arguments
Merge pull request #2 from SLaks/patch-2

Modify deepCopy() to correctly clone dates