off-by-one!

Here you go, @sethladd, Fixes #947. You worry about other things :smile: