Fixed checking for if a record was already in the library in ar()