Handled arrays in afterAdd and afterEdit