index: remove unnecessary "to-array" dependency