made != work on null => change null to ''
in cg_search