fixed nullexception when item is not accessible due to security
Merge pull request #24 from IvanLieckens/patch-1

fixed nullexception when item is not accessible due to security