When join query is executed use already gotten attribute