Where an action has been brought for a deficiency as provided by section 2A:50-2 of this Title, and where the party or parties liable for such deficiency shall have answered disputing the amount of the deficiency as provided by section 2A:50-3 of this Title, the effect of such answer shall be to terminate any right to redeem from foreclosure sale as provided by section 2A:50-4 of this Title, and the recovery for the deficiency shall not open the foreclosure and sale of the premises as provided by said section 2A:50-4.
N.J.S. § 2A:50-5