Removes redundant collection conversion.

Before:

List(1, 2).toList

After:
List(1, 2)