FIX: SubArray didn't allow lists of length more than 10...

...because of a bug in getMaxIndexProperty. It used to do string comparisons
for array index properties.