Please see attached v2 of the patch; it includes both occurrences of the spurious checks identified in this thread.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных