fix issue in validate_port_stats_request() (fixes #363)