Fix off by one error for patch numbers in the publish dialog.