set value to NULL if bulk data field not present
misc updates for Rcpp 0.11.0