Removed db integrity check