Fixed up check in methodListIsArray a little.