Fix issue with bad markup in paginate carousels and lists (key+1 issue)