Fixed compilation issue with ratematching