Avoid duplication affiliations
edit institutions on separate page
Treat empty domain name param as null

Avoids issue where empty string results in violation of unique index.