Rename isDeletedFromRealm to isInvalidated