Handle cases where .size is undefined/NaN
v0.4.1