Fixed a bug from changing to ArrayList.

Selecting a robot would cause an error.
Merge pull request #1 from jdelacroix/multiapp

Fixed a bug from changing to ArrayList.