Do not attempt to impose check constraint if configuration value is nil.

https://github.com/fiksu/partitioned/issues/30