Fixed bug in cpp function call which arose because the signature of the bulk C++ functions had changed in an earlier commit.