Fixes cms:layout tag not working with the new list layout stuff when repeating sub-grid with the same CSS class.