Fixed issues assigning gender preference.