Fix other side of off-by-one