Fix for #57 - ForeignKey.EndsWith messes up multiple one-to-many relationships