Fix detection of out-of-date records, clean up notification handling.