make reports handle null parameters correctly