Fixing message backlog issue in alert emails.

Offset and limit parameters in search request had been mixed up, lol.

Fixes #541