Fixed enabled / disabled check
Merge pull request #15 from entuland/enabled-disabled-patch

Fixed enabled / disabled check