detect possible NULL in sequence table