Restored dashboard functionality.
Cleanup: use loop comprehensions in dashboard-service.