Two bug fixes for graduated renderer
Merge pull request #1612 from ccrook/GraduatedRendererBugFixes1

Two bug fixes for graduated renderer