Fixed bug when inserting empty market cap data list into DB.