Off by 1: An item stack can not merge with another, when the count already equals the maximum stack size, not just when it is greater