fixes #9461 - Make carousel ignore non-items in carousel-inner