Fixes #1663 System Email Logs - pagination SQL error
Merge pull request #1664 from PaulBender/fix-1663

Fixes #1663 System Email Logs - pagination SQL error