Simplify integrity check