Fix delete for array values