Bug fix: providePoints could crash when parents contained a function returning not an array.