removes adding element before using same element as replacement

https://www.openproject.org/work_packages/10848