Respect upper bound.
Added comments that were notes in the Spark pull request per comments by @srowen.  Thx!