Fix primary_key option on ManyToMany