Fix error on accounting when no target_type specified

1 job for bugfix in 4 minutes and 19 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #960
test

00:04:19