Fixed issue with loading arrays of incompatible shape.