[major] Always return arrays without undefined.