Fixed compare_records() to loop through prompt until acceptible input is given.