[fixed] fix for indexes with same names as FK when FK are equal