Fix calculation of graduated symbology breaks
Merge pull request #449 from nyalldawson/grad_fixes

Fix calculation of graduated symbology breaks (Fix #7256)