Fixed carousel throws out of range exception.