Added this line of code to handle the 'master' switch. When no subfilter...

...s are applied to an attribute, it's master switch should be off!