(4)No law made by Parliament before the commencement of the Constitution (Thirty-ninth Amendment) Act, 1975, in so far as it relates to election petitions and matters connected therewith, shall apply or shall be deemed ever to have applied to or in relation to the election to any such person as is referred to in clause (1) to either House of Parliament and such election shall not be deemed to be void or ever to have become void on any ground on which such election could be declared to be void or has, before such commencement, been declared to be void under any such law and notwithstanding any order made by any court, before such commencement, declaring such election to be void, such election shall continue to be valid in all respects and any such order and any finding on which such order is based shall be and shall be deemed always to have been void and of no effect.