Fixed issue with image and item numbering.