Fix deleteinstance command