Fix exception with n_views<1000