There was a similar issue reported for the Sales Report plugin; see this GitHub issue for my suggested correction.
My website
Forum Rules
Bookmarks