Here's my proposed fix. Great reproducer, Alexander, thanks!
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных