Check for empty data before saving to Redis