Add DEV { } block to a unique check that will take a table lock on the
system catalog. We don't want that to happen in production. Also, fix
an outdated comment.