maxapriori : isincludedin bug fixed