Fix ForeignKey using issue, use object.id