Bug fix: Associations without foreign key