disable destroy if first or last id disabled