Minor fix in SparkFlags
Merge pull request #2232 from ussuri/small-fixes-2

Minor fix in SparkFlags