Correction for showing columns results of relations in the table