Partial backend development - not yet usable
Bug fix: Explicitly setting the LIMIT on a MySQL query to check we get all events from the database.