Fixed a MySQL Error 121 due to wrong foreign Key information