Fix to avoid blank title, which would cause a 400 bad request error.