Follow-up to Projects::CompareController changes
What does this MR do and why?
This is a followup to the previous changes to Projects::CompareController
Issue: #567244 (closed)
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.