When either of these fails ```digits && digits.length > 0``` false is returned.

Will add following to be sure that foreach loop below doesn't do harmful stuff.
```
if (size) {
    sizes.push(size)
}
```