Fixed bug where dashboard was broken if the user had no team