cf-dc-api.pl: fix case of missing priority