Made dynamic grid only work for root level elements.
Bumped version