Vlahovich v. Cruz, 213 C.A.3d 317 (1989), holds that a judgment of foreclosure constitutes an election of remedies.