Fix for compatibility with PayPlans 3.x