6. Detention orders not to be invalid or in-operative on certain grounds.

(a) that the person to be detained thereunder, though within the State, is outside the limits of the grounds, territorial jurisdiction of the officer making the order, or
(b) that the place of detention of such person though within the State, is outside the said limits.