Please first try to use the CriteriaList before doing the OtherCriteria extension point.