Fixed generating column names for self referencing entity.