Fix on select_to_array extension