Issue #1025: Fix broken save functionality in patient data controllers (SexController and PhenoTipsFeatures)