Also makes get_assigned_output work with the primary output: workspace X output primary will now work. Fixes #555.