Check constraints throwing errors on publish