WIP: [FIX] Fixed bug in dropdown selector when selecting the same selection again

What does this MR do?

Fixes a bug related to this issue #38167

Are there points in the code the reviewer needs to double check?

Though my fix works, I do not know why that if statement exists there.

Why was this MR needed?

Needed to fix a UI bug.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #38167

Edited by username-removed-226601