Can't update any release if milestone is linked to it

Sentry Issue: GITLABCOM-HNW0

TypeError: can't quote ActiveSupport::HashWithIndifferentAccess
  active_record/connection_adapters/abstract/quoting.rb:231:in `_quote'
    else raise TypeError, "can't quote #{value.class.name}"
  active_record/connection_adapters/postgresql/quoting.rb:144:in `_quote'
    super
  active_record/connection_adapters/abstract/quoting.rb:18:in `quote'
    _quote(value)
  arel/collectors/substitute_binds.rb:17:in `add_bind'
    self << quoter.quote(bind)
  arel/visitors/postgresql.rb:45:in `visit_Arel_Nodes_BindParam'
    collector.add_bind(o.value) { |i| "$#{i}" }
...
(183 additional frame(s) were not displayed)
Edited by Orit Golowinski