Fixed NullPointerException when deleting single-use slave