line is preventing allowed_types to work correctly. any reason for this?

portal types that are not selectable should not show up in the popup