Taking care of inconsistent records (no attachment)