Bug fix: changing a record's location mode could result in "attribute
owner is null" assertion errors and have the CALC or VIA tab show up for
DIRECT records.