Fix crash checking `limit` and `page` parameters in `/mqtt/delayed/messages` API call.