More checks before the inserts