Change the Static_Predicate to a Dynamic_Predicate. The relationship is evaluated at runtime rather than at compile time.