backport fix for item2; the ability to recognize zero items in special cases