activation key overriding broke parameters table
after a change was added to the hostgroup parameters addition order,
the direction of addition should be also considered when overriding / setting params.
Steps to reproduce:
- Create a host group with parameters and submit it.
- Try to edit the same group by adding a content view and then selecting the activation key and clicking on submit.
- the parameters in parameter tabs are getting reset.
- The error displayed as "Name can't be blank"