Constraints default to {} if not provided

Default the constraints to an empty dict if there's no constraints setting in the data relation.