The migration used to fail because the same duration in minutes was out of the integer range. The '20 years' limit was introduced in e0f0fe5.
e0f0fe5
reply_id
automatic_membership_retroactive