Fixed a glitch with attributes with an empty value. Changed MetaData
extraction method for date extraction