Modify deepCopy() to correctly clone dates

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

Modify deepCopy() to correctly clone dates