Get nested records mostly working