Affected Version: 2.1.5
What steps will reproduce the problem?
1. Go to Settings -> Watched Projects
2. Add 1 project twice to the watch list (just watch the project without specifying any if condition)
3. As a result the project appears twice in the watch list
4. The user notices that the project was accidentally added twice, so the user selects one instance of the project watch and clicks on the 'Delete' button to remove the duplicate entry.
What is the expected output? What do you see instead?
It is expected that only the selected (duplicated) entry is removed from the watch list, however what happens is that both entries for the project are deleted. It is quite confusing for the user that on delete more entries are removed than he had selected.
Please provide any additional information below.
Maybe the easiest way to solve this issue would be to simply disallow the creation of duplicate watch entries.