Handles empty ForeignKeys.
Merge pull request #15 from BertrandBordage/master

Handles empty ForeignKeys.