[Version Control] Removed redundant ToArray casts.