Flattened view fix.
Fixing labels and ordering of totals.
Fixed warning.
A simplification.
Removed comment.
Merge remote-tracking branch 'origin/master' into ComponentMerge
Added merge test for facttable-for-component.jq.
Added test for spreadsheet-for-component.jq
Update spreadsheet-for-component.jq
Update spreadsheet-for-component.jq
Merge pull request #533 from 28msec/ComponentMerge

Flattened view fix.