check for nulls in wave equality test