FIX ISSUE #1 - error in getSelectedPlan.