fix error unselecting attached

Status Job ID Name Coverage
  Test
passed #3402
lint:js

00:24

passed #3403
unit:django

01:13