quotation fixes on ami lookup routines around ancestor information.