@@ -390,9 +390,11 @@ Elm.Native.Array.make = function(elm) {
390390 return c[0];
391391 }
392392
393− var toRemove = calcToRemove(a, b);
394− if (toRemove > E) {
395− c = shuffle(c[0], c[1], toRemove);
393+ if (c[0].height > 0) {
394+ var toRemove = calcToRemove(a, b);
395+ if (toRemove > E) {
396+ c = shuffle(c[0], c[1], toRemove);
397+ }
396398 }
397399
398400 return siblise(c[0], c[1]);