Adds nested selects for populated fields