Section 19(2)(ii) in The Jammu And Kashmir Public Safety Act, 1978
(ii)the earlier order of detention has been revoked by reason of any apprehension, or for avoiding any challenge that such order or its continuance is not legal on account of any technical defect: