correct visitor when dates are INTSXP. closes #273