Ignore mediatype if it's set to 'NULL' value