Added id field to foreign key result