Fix bug in bd3ed0e04e

Need to include the wayid and relid in each of the waynodes and
relmembers.