internal_error with &optional fields in records used as indexes

Description

Trying to add records with optional fields to tables or sets as the index fails (doesn't crash though) if one of the optional fields does not have a value.

This script will cause the error:

Environment

None

Assignee

Unassigned

Reporter

Seth Hall

Labels

External issue ID

367

Components

Fix versions

Affects versions

Priority

Normal
Configure