Fix off-by-one error found in /katmagic/Shallot/pull/9