Fixed handling of NULLs in bogus comment state