Fixed range bug with unsigned quads

Fixed range bug with unsigned quads