Fixed zoom index max bound check