Added uses case when saving arrays in related model collections