Fixed generating join column names for self referencing entity.