fix: using nil as backup id when deleting backup