Fixes #9 : generated assertion should null safe equals