I feel, you meant to say, the subquery does not return any record which is not the same as returns NULL.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных