Partial fix for issue #234. Check constraint aren't copied yet.