Shouldn't be the other way around? When `pointType === 0` add `enabled` class to all filters. So, body of `else` replaces body of `if` and body of `if` replaces body of `else`.