Merge branch 'patch/targets' into 'master'

Avoid error 500 when target is forgotten

See merge request !187
2 jobs for master in 16 minutes and 8 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Test
passed #1930
black

00:02:50

passed #1929
test

00:16:08

60.0%