Bug fix: NPE when changing the selection from a record to a set (record
prefix section, hyperlink handler disposed even when null).