Currently, the type of the `address` field is `string` and it's an empty string(`""`) when the address is unavailable. The problem is, aggregation is done by GROUP BY of `address`. It must be changed to GROUP BY of `lockScriptHash` and `parameters`.