Sanity checked for itemstacks returned from extract. (NPE check) Fixes #601