fix sagews2pdf bounds error bug found by Steve 'Singlets'
fix sagews2pdf bounds error bug found by Steve 'Singlets'

tscholl2/smc,tscholl2/smc,sagemathinc/smc,tscholl2/smc,tscholl2/smc,DrXyzzy/smc,sagemathinc/smc,sagemathinc/smc,tscholl2/smc,DrXyzzy/smc,sagemathinc/smc,DrXyzzy/smc,DrXyzzy/smc