I can’t see your model definition so I cannot know what’s wrong. Are you making the same mistake as in this thread?