The condition block must be executed in the object context instead of
relation context.