I thought you had an unless on the block that looped over the results above here to remove the reference node? Did you take that out?