Fix max price calculation