Fix build notification on merge request page change even if the build status didn't change
What does this MR do?
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
Because auf a bug introduced in !3998 (merged).
What are the relevant issue numbers?
Closes #17357 (closed)