Fixing a NPE

The Item is null when disabled.
Merge pull request #1 from superckl/master

Fixing a NPE