Better argument checking to avoid warning in studentGrowthPercentiles