BAC-533: fix handling of type selection from URL parameter (use logic from PhalanxPage)