Fixed a problem with getForeignKeys/dropForeignKey

Fixed a problem with getForeignKeys/dropForeignKey where sending the table name in "database.table" format would fail finding the foreign keys