Why? The case where orders is empty is covered by the count === 0, I don't see what this if adds.