Fix ValueError when crating a copy of a report

This fixes #1
Merge pull request #47 from smeinel/master

When copying a report in Python 2.6.8, a ValueError gets thrown