Fix 1 page of 0 bug