[BUGFIX] Handle new record correctly in selectTree form element