Fixed bug when creating foreign keys with custom constraint names