Merge bug fix to release; Fixes #7989

svn path=/branches/release/boost/algorithm/; revision=83193