Allowing nulls in document Type field