Remove invalid trailing comma.