Fix possible NPE in findItemStack, closes #218