fix regression caused by `merge!` no longer defined on `Scope`s

source of regression:
https://github.com/rails/rails/commit/dc3f25c8a5aa64de9225f11498a389a2d31e880a