Added check for empty job string.