ticket #346 record gender must be mandatory