Set page to 1 not 0 on NaN