fix in join statement construction for toMany relationships
use SELECT DISTINCT when given NSPredicate with NSAnyPredicateModifier