Is it possible that some other process created an entry in rel_group_user between these two queries?
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных