Fixed bug with empty array parsing in db entry