include null constraint to is set function to prevent empty metadata from being added to accordion