Add tms media not blank constraint