Fixed error in xls metadata helper.