Fix crash with ".backup compare [id]"