HPCC-12486 Optimize binding module functions

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Shouldn't 'call' be asserted first?