Fixing problems caused by non-uniformly sized data being passed in, and arrays of boolean values