Fix isdirty to handle meta changes.