Fix for Bug #15: Changed wrong column name of foreign key constraint