Fix error deleting replies with no parent node