Added !$appliedRowAttributes to the condition to apply the row attributes, since you only have to do this once per mapped selection.
Merge branch 'master' of https://github.com/ihatemundays/MatrixTables