Steps to reproduce:
- create a group or user mapping, e.g.

- delete the values for "last_name" and "cn:
- click on "Save"
Result:
- the mapping section displays 3 empty objects instead of 2

- when doing multiple updates on the same mapping the user can end up with many empty objects
Expected result: no extra empty objects should be added in this case.
Steps to reproduce:
Result:
Expected result: no extra empty objects should be added in this case.