Fixes #2567
Merge pull request #2568 from easydigitaldownloads/issue/2567

Fixes #2567