ticket_16311: statement simplification in Field.get_choices().