Don't build nodes if they aren't an array.