Fixed bug with persistence framework returning modifiable collections.