Migrate ATPortalTypeCriterion.
With more than one path, which path is chosen is not defined.
Migrate ATSelectionCriterion.
Migrate ATReferenceCriterion.

Note: the new criterion is disabled by default.  Also, it
needs the _referenceIs function in the plone.app.querystring
queryparser and that function is not defined.
Check that the resulting query does not give an error.

As inidicated, it will give an error for the reference criterion.