BISERVER-9988 Samples have errors in 5.0 - Added some defensive code in ...

...RowBandingFunction for reporting engine core