Fix a spot of code that's returning a mutable array in a getter when it shouldn't.

Sometimes FindBugs earns its pay.