BACKLOG-5331
- Small optimization to avoid merging already merged profiles again