Fix actionset for PortStatisticsCapability and solve bugs.