Fixed joinResult

Deep copy of result object was broken

Jira-issue: WP-1203
Merge pull request #23 from ccameroni/WP-1301-fix-joinResult

WP-1301 Fixed joinResult