Fix an off by one