Make sure to remove empty strings.