Issue/2876

Fixes https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues/2876