Restore respecting flags on deletion