- 
    Problem report 
- 
    Resolution: Fixed
- 
    Trivial 
- 
    3.0.21, 3.4.13, 4.0.0beta1
- 
    None
- 
        Sprint 42, Sprint 43, Sprint 44
- 
        0.5
Steps to reproduce:
- Navigate to Monitoring -> Triggers.
- Specify two values in filter by host inventory. For example:
	- Type: aaa
- Type: bbb
 
- Press Filter button.
- Change "Type: aaa" to "Type: ccc".
- Press Filter button.
- Click on Monitoring -> Triggers in the main menu.
Result:
 Observe that second filter by host inventory "Type: bbb" is now replaced with "Type: ccc".
The same issue appears in Monitoring -> Problems (3.4 and 4.0) when filtering problems by tags.
 Steps to reproduce:
- Navigate to Monitoring -> Problems.
- Type two values in tag filter: 
	- database: customers
- database: partners
 
- Press Apply button.
- Change "database: customers" to "database: orders".
- Press Apply button.
- Click on Monitoring -> Problems in the main menu.
Result:
 Observe that second tag filter "database: partners" is now replaced with "database: orders".
 Duplicate values are saved to database. So the problem is somewhere in CProfile::updateArray() and CProfile::update().