Remove assert
In compliance mode get_keys is called even if the dialog is not fully populated. This should not trigger an assert.