fixed NPE when comparing itemstacks with null-items in them