NTFY-139: fix DELETE by resourceId, tweak calculation of resource URI logic