Fixed pastebin hook off-by-one error