The source sensor is reporting 0 when you restart, rather than unavailable. Then when it jumps to the previous total that whole amount is added to the utility meter. This does not happen if the source sensor goes from unavailable to the total.
The solarman integration appears to be a third party integration. Open an issue with the developer.