Fixes a duplicated domain option in studytype