Fixed bug with empty string adding (PY-3232).