Process statistics for relay domains too.

fix #631