Fixed an NPE when the Item happens to become null.

Fixes issue found @ http://pastebin.com/JVd8iYPZ

From CoreyMills25 on IRC.