19 . (1) Where a party omitted from a hypothecary action is not a person who is by subsection (3) or subsection (4) of section 18 declared to be bound by the decree and sale in that action, and a conveyance of the mortgaged land has been executed in favour of the person who had purchased that land at the sale (hereinafter referred to as " the prior sale ") in execution of the hypothecary decree in that action-
(a) the party omitted may institute an action, to which the mortgagor and the purchaser at the prior sale shall be added as parties, for the purpose of obtaining a decree declaring him
to be entitled to the land or to any interest therein, or where such party omitted is a mortgagee, for the purpose of obtaining a hypothecary decree in respect of the land ;
(b) the purchaser of the land at the prior sale may institute an action to which the mortgagor and the party omitted shall, be added as parties, for the settlement of the rights and liabilities of the purchaser, the mortgagor and the party omitted.
(2) In this section and in sections 20 to 23, " purchaser at the prior sale " includes any person deriving title under or from the person who purchased the land at the prior sale.
(3) The court may, if it thinks fit so to do having regard to the circumstances of any case, permit the party omitted to institute an action under subsection (1), notwithstanding that a conveyance of the mortgaged land may not have been executed in favour of the purchaser of the land. *Action by or against party omitted for settlement of rights. &c.*