This is inefficient. I suggest adding a method to `QueueStore` like `fetchAllActiveQueues()` that would do something like `SELECT * FROM queue WHERE active` in the database itself.