Protect against falsy values in array-sh preferences